////////////////////////////////////////////////////////////////////////////////
// Z-Day Project File                                                         //
// -------------------------------------------------------------------------- //
// Filename:   /entities/weapons/weapon_rifle/shared.lua                      //
// Type:       Shared                                                         //
// Contents:   "Rifle" SWEP.                                                  //
////////////////////////////////////////////////////////////////////////////////

if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end

SWEP.Base						= "weapon_zd_base"

SWEP.ViewModel					= "models/weapons/v_snip_scout.mdl"
SWEP.WorldModel					= "models/weapons/w_snip_scout.mdl"

SWEP.ViewModelFOV				= 75
SWEP.ViewModelFlip				= true
SWEP.IronSightsPos 				= Vector( 5, -10, 2.5 )
SWEP.NormalPos	 				= Vector( 5, -10, 2.5 )
SWEP.ScopedPos 					= Vector( 20, -10, 2.5 )
SWEP.IronSightsAng				= Vector( 0, 0, 0 )

SWEP.Weight						= 5
SWEP.HoldType					= "crossbow"
SWEP.GunSmoke					= true
SWEP.ShowIndividualRounds		= false

SWEP.Primary.Sound				= Sound( "Weapon_Scout.Single" )
SWEP.Primary.Recoil				= 4.5
SWEP.Primary.Damage				= 95
SWEP.Primary.NumShots			= 1
SWEP.Primary.Cone				= 0
SWEP.Primary.NoCone				= true
SWEP.Primary.Delay				= 3.15
SWEP.Primary.ClipSize			= 5
SWEP.Primary.DefaultClip		= 5
SWEP.Primary.Automatic			= false
SWEP.Primary.Ammo				= "SniperRound"

SWEP.Secondary.ClipSize			= -1
SWEP.Secondary.DefaultClip		= -1
SWEP.Secondary.Automatic		= false
SWEP.Secondary.Ammo				= "none"

SWEP.Mode						= WEAPON_SCOPED

SWEP.KillString1				= "sniped"
SWEP.KillString2				= "with his rifle"